﻿@model Seven.Service.Security.LoginModel
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>登录</title>
    <link href="~/Content/login/login.css" rel="stylesheet" />
    <script src="~/Scripts/jquery/jquery-1.11.0.min.js"></script>
    <script src="~/Scripts/jquery-extensions/jquery.jdirk.js"></script>
    <script src="~/Scripts/jquery-easyui/jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
    <script src="~/Scripts/jquery-easyui/jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js"></script>
    <link href="~/Scripts/jquery-easyui/jquery-easyui-theme/black/easyui.css" rel="stylesheet" />
    <link href="~/Scripts/jquery-easyui/jquery-easyui-theme/icon.css" rel="stylesheet" />
    <link href="~/Scripts/jquery-easyui-extensions/jeasyui.extensions.css" rel="stylesheet" />
    @*对EasyUI的扩展，基本扩展库*@
    <script src="~/Scripts/jquery-easyui-extensions/jeasyui.extensions.js"></script>
    <script src="~/Scripts/jquery-easyui-extensions/jeasyui.extensions.form.js"></script>
    <script src="~/Scripts/mainpage/login.js"></script>
    <script>
        $(function () {
            window.bindButtonEvent();
        });
    </script>
</head>
<body>
    @using (Html.BeginForm("Login", "Account", FormMethod.Post, new { }))
    {
        @Html.AntiForgeryToken()
        <div class="login">
            <div class="username">
                <span class="ipt-title">用户名:</span>
                @Html.TextBoxFor(m => m.UserName, new { @class = "ipt-item", placeholder = "请输入登录名", required = "required", maxlength = 20 })
            </div>
            <div class="password">
                <span class="ipt-title">密码:</span>
                @Html.PasswordFor(m => m.Password, new { @class = "ipt-item", placeholder = "请输入密码", required = "required", maxlength = 20 })
            </div>
            <div class="other">
                <div class="remember">
                    <label class="label_check" for="RememberLoginName"><span class="ipt-title">记住账号:</span>@Html.EditorFor(m => m.RememberLoginName)</label>
                </div>
                <div class="forget"><a href="http://www.baidu.com" target="_blank" class="forget-password">忘记密码?</a></div>
            </div>
            <input type="button" class="login-on" />
        </div>
        <div class="error-msg">
            @Model.Message
        </div>
    }
</body>
</html>
